<ui:composition template="template.xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html">
    <ui:define name="conteudo">
        <h:form>
            Login<br />
            <h:inputText id="login" value="#{login.login}" required="true" requiredMessage="Digite o usuário"/><br />
            Senha<br />
            <h:inputSecret id="senha" value="#{login.senha}"  required="true" requiredMessage="Digite a senha"/><br />
            <h:messages style="margin-left: 10px" />
            <center>
                <h:commandButton type="submit" value="Login" action="#{login.logar}" />
                <h:commandButton type="reset" value="Limpar" />
            </center>
        </h:form>
    </ui:define>
</ui:composition>